<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            display: flex;
            justify-content: space-around;
            margin-top: 50px;

        }
        .box div{
            width: 230px;
            height: 230px;
            background-repeat: no-repeat;
            background-color: gray;
            transition: all 1s;
            position: relative;
        }
        .d1{
            background-image: url(./1.png);
        }
        .d2{
            background-image: url(./2.png);
        }
        .d3{
            background-image: url(./3.jpg)
        }
        .d1:hover{
            transform: translate(-3px , -5px);

            text-shadow:  0 0 15px #AAA;
        }
        .d2 span, .d3 span {
            position: absolute;
            left: 0px;
            bottom: -80px;
            width: 100%;
            height: 80px;
            background-color: aqua;
            transition: all 2s;
        }
        .d2:hover span, .d3:hover span {
            bottom: 0px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="d1"></div>
        <div class="d2">
            <span class="s"></span>
        </div>
        <div class="d3">
            <span class="s">
            </span>
        </div>
    </div>
</body>
</html>